package com.la100.common.bean.model;

import java.util.Date;

/**
 * 
 * @author lishi
 * @date 2017-11-29 上午9:35:36
 * 
 *       用户基本信息
 */
public class UserInfo implements BaseModel {
	private Integer id; // 主键
	private String appId; // 微信appid
	private String openId; // 微信用户的openId
	private String phoneZone = "86"; // 手机区号
	private String phone; // 手机号码
	private String name; // 用户名
	private String image; // 用户图像
	private int money = 0; // 用户账户余额 （单位：角）
	private int coupon = 0; // 账户的赠劵（单位：角）
	private Date createTime; // 创建时间
	private Date updateTime; // 修改时间

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getPhoneZone() {
		return phoneZone;
	}

	public void setPhoneZone(String phoneZone) {
		this.phoneZone = phoneZone;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public int getCoupon() {
		return coupon;
	}

	public void setCoupon(int coupon) {
		this.coupon = coupon;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
